package com.github.zdongcoding.recyclerviewlib.model;


public class ItemTitle   {

    private String mTitleName;

    public ItemTitle( String titleName) {
        this.mTitleName = titleName;
    }

    public String getTitleName() {
        return mTitleName;
    }

    @Override
    public String toString() {
        return "ItemTitle{" +
                "mTitleName='" + mTitleName + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        ItemTitle itemTitle = (ItemTitle) o;

        return mTitleName != null ? mTitleName.equals(itemTitle.mTitleName) : itemTitle.mTitleName == null;
    }

    @Override
    public int hashCode() {
        return mTitleName != null ? mTitleName.hashCode() : 0;
    }
}
